<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>新闻中国</title>
    <link th:href="@{/css/read.css}" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="header">
    <div id="nav">
        <div id="logo"><img th:src="@{/images/logo.jpg}" alt="新闻中国"/></div>
        <div id="a_b01"><img th:src="@{/images/a_b01.gif}" alt=""/></div>
    </div>
</div>
<div id="container">
    <div class="main">
        <div class="class_type"><img th:src="@{/images/class_type.gif}" alt="新闻中心"/></div>
        <div class="content">
            <ul class="classlist">
                <table width="80%" align="center">
                    <tr width="100%">
                        <td colspan="2" align="center" th:text="${news.ntitle}"></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <hr/>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" th:text="${news.ncreateDate}"></td>
                        <td align="left" th:text="${news.nauthor}">sport</td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center"></td>
                    </tr>
                    <tr>
                        <td colspan="2" th:utext="${news.ncontent}"> 　</td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <hr/>
                        </td>
                    </tr>
                </table>
            </ul>
            <ul class="classlist">
                <table width="80%" align="center">
                   <tr th:each="comments:${news.commentsList}">
                       <td colspan="4" width="260px" th:text="${comments.ccontent}"></td>
                       <td th:text="${comments.cauthor}"></td>
                       <td  th:text="${comments.cdate}"></td>
                   </tr>
                </table>
            </ul>
            <ul class="classlist">
                <form th:action="@{/index/addcomments}" method="post" >
                    <input type="hidden" name="cnid" th:value="${news.nid}"/>
                    <table width="80%" align="center">
                        <tr>
                            <td> 评 论</td>
                        </tr>
                        <tr>
                            <td> 用户名：</td>
                            <td><input id="cauthor" name="cauthor" value="匿名"/>
                                IP：
                                <input name="cip" value="127.0.0.1" readonly="readonly"/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"><textarea name="ccontent" cols="70" rows="10"></textarea>
                            </td>
                        </tr>
                        <td><input name="submit" value="发  表" type="submit"/>
                        </td>
                    </table>
                </form>
            </ul>
        </div>
    </div>
</div>
<div id="footer">
    <div id="friend">
        <h1 class="friend_t"><img th:src="@{/images/friend_ico.gif}" alt="合作伙伴"/></h1>
        <div class="friend_list">
            <ul>
                <li><a href="#">百度</a></li>
                <li><a href="#">谷歌</a></li>
                <li><a href="#">新浪</a></li>
                <li><a href="#">网易</a></li>
                <li><a href="#">搜狐</a></li>
                <li><a href="#">人人</a></li>
                <li><a href="#">中国政府网</a></li>
            </ul>
        </div>
    </div>
    <div>
        <p class=""> 24小时客户服务热线：010-68988888 &#160;&#160;&#160;&#160; <a href="#">常见问题解答</a> &#160;&#160;&#160;&#160;
            新闻热线：010-627488888 <br/>
            文明办网文明上网举报电话：010-627488888 &#160;&#160;&#160;&#160; 举报邮箱： <a href="#">jubao@jb-hisoft.com.cn</a></p>
        <p class="copyright"> Copyright &copy; 1999-2009 News China gov, All Right Reserver <br/>
            新闻中国 版权所有 </p>
    </div>
</div>
</body>
</html>
